<template>
  <div>
    <el-input v-model="input"  disabled style="width: 200px;margin-left: 20px;"></el-input>
    <el-table :data="gridData" style="width: 100%;margin-top: 10px;" height="400" show-summary>
        <el-table-column type="selection" width="55">
        </el-table-column>
        <el-table-column width="300" property="storeHomeName" label="仓库名称"></el-table-column>
        <el-table-column width="300" property="num" label="数量"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      currentPage6: 4,
      input:'巧克力',
      StoreHouCho: [{
        storeHomeCode: 'a001',
        storeHomeName: '3',
      }, {
        storeHomeCode: 'a001',
        storeHomeName: '3',
      }, {
        storeHomeCode: 'a001',
        storeHomeName: '3',
      }
      ]
    }
  },
  methods: {
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    }
  }
}
</script>

<style>
.el-table /deep/ .el-table__footer-wrapper tbody td {
  background-color: #fff1d4;
}

.el-table /deep/ .el-table__body tr:hover>td {
  background-color: #fff1d4;
}
</style>